<?php
return array(
	/*伪静态设置*/
	
		
	/*Ip权限*/
	'atoy_ip' => array (
				'0.0.0.0',
				'10.0.1.183' 
	),
	
	/*日志配置*/
	'login'		=> 'Public/Log/Login/',
	'signup' 	=> 'Public/Log/SignUp/',
	'link' 		=> 'Public/Log/Link/',
	'visit' 	=> 'Public/Log/Visit/',
	'userOps' 	=> 'Public/Log/UserOps/',
	'feedback' 	=> 'Public/Log/FeedBack/',
		
	/*其它配置*/
	'cookie_time' => 3600 * 24 * 7,
	'web_root' 	=> '/',
	'img_root' 	=> '/Image/',
	'WEB_PRE'	=> 'nav_',
	
	/*Mysql配置*/
	'db_host' => '10.0.1.43',
	'db_name' => 'iruiyou_info',
	'db_user' => 'wangzy',
	'db_pass' => 'iruiyou',
		
	/*邮件配置*/
	'MAIL_ADDRESS' => 'wangzy_smile@sina.com', // 邮箱地址
	'MAIL_SMTP' => '202.108.6.242', // 邮箱SMTP服务器
	'MAIL_LOGINNAME' => 'wangzy_smile@sina.com', // 邮箱登录帐号
	'MAIL_PASSWORD' => 'wzy12143210', // 邮箱密码
	'MAIL_NAME' => 'iruiyou_web', // 发件人姓名
		
		/* 错误码对照 */
		'exe_code' => array (
				10 => "账号已被注册",
				12 => "密码错误",
				14 => "账号不存在",
				16 => "注册用户:数据写入失败",
				18 => "重置密码:数据写入失败",
				20 => "重置密码:原密码错误" ,
				22 => "修改密码:原密码错误",
				24 => "修改密码:新密码写入失败"
		),
		
	/*网站分类*/
	'web_type1' => array (
				"a" => "渠道分类",
				"b" => "广告平台",
				"c" => "媒体平台" 
		),
		
	/*Html语言*/
	'html_web_type1' => 
		"<li class='li_nav_link' id='li_nav_link_a' onclick=getTypeLink('a')>渠道分类</li>
         <li class='li_nav_link' id='li_nav_link_b' onclick=getTypeLink('b')>广告平台</li>
         <li class='li_nav_link' id='li_nav_link_c' onclick=getTypeLink('c')>媒体平台</li>",
		
		'html_web_type1_a' => "<tr><td colspan='5' id='td_type2_nav'><ul>
		<li onclick=getTypeLink('a') id='li_type2_a'class='li_type2'>全部</li>
		<li onclick=getType2Link('aa','li_type2_aa') id='li_type2_aa' class='li_type2'>运营商渠道</li>
		<li onclick=getType2Link('ab','li_type2_ab') id='li_type2_ab' class='li_type2'>手机厂商渠道</li>
		<li onclick=getType2Link('ac','li_type2_ac') id='li_type2_ac' class='li_type2'>IOS越狱渠道</li>
		<li onClick=getType2Link('ad','li_type2_ad') id='li_type2_ad' class='li_type2'>安卓渠道</li>
		<li onClick=getType2Link('ae','li_type2_ae') id='li_type2_ae' class='li_type2'>其他渠道</li>
		</ul></tr>" 
)
;